package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐馆菜品对象 res_dish
 * 
 * @author ruoyi
 * @date 2025-06-02
 */
public class ResDish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品id */
    private Long dishId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishName;

    /** 菜品重量 */
    @Excel(name = "菜品重量")
    private BigDecimal weight;

    /** 菜品价格 */
    @Excel(name = "菜品价格")
    private BigDecimal price;

    /** 菜品分类id */
    @Excel(name = "菜品分类id")
    private Long dishCategoryId;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String field;

    public void setDishId(Long dishId) 
    {
        this.dishId = dishId;
    }

    public Long getDishId() 
    {
        return dishId;
    }

    public void setDishName(String dishName) 
    {
        this.dishName = dishName;
    }

    public String getDishName() 
    {
        return dishName;
    }

    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setDishCategoryId(Long dishCategoryId) 
    {
        this.dishCategoryId = dishCategoryId;
    }

    public Long getDishCategoryId() 
    {
        return dishCategoryId;
    }

    public void setField(String field) 
    {
        this.field = field;
    }

    public String getField() 
    {
        return field;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dishId", getDishId())
            .append("dishName", getDishName())
            .append("weight", getWeight())
            .append("price", getPrice())
            .append("dishCategoryId", getDishCategoryId())
            .append("field", getField())
            .toString();
    }
}
